package com.dashuai.modbus.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.List;

/**
 * <p>
 *
 * </p>
 *
 * @author QM
 * @date 2024/8/22
 */
//@ConfigurationProperties(prefix = ProcessImageProperties.MODBUS_TCP_SLAVE_IMAGE_PREFIX)
@Data
public class ProcessImageProperties {


//    public static final String MODBUS_TCP_SLAVE_IMAGE_PREFIX = "modbus.tcp.slave.process-images";

    private int slaveId;

    private List<CoilProperties> coils;

    private List<InputProperties> inputs;

    private RegisterProperties holdingRegister;

    private RegisterProperties inputRegister;

}
